package com.b511.swpu.cementbackend.repository;

import com.b511.swpu.cementbackend.entity.CM_WK_WellReject;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.Optional;

public interface CM_WK_WellRejectRepository extends JpaRepository<CM_WK_WellReject, String>, JpaSpecificationExecutor<CM_WK_WellReject> {

    Optional<CM_WK_WellReject> findByWellNameAndCasingSize(String wellName, String casingSize);

}
